prefix=/usr
USRBINDIR=$(DESTDIR)$(prefix)/bin

CXX = gcc
CPPFLAGS = `pkg-config --cflags dbus-glib-1`
CXXFLAGS = -Wall `pkg-config --libs dbus-glib-1`
PROG = sendfile
FILE = smiley.png
INSTALL = install
LDFLAGS =


OBJS = conbtdialogs_send_file.o

all: sendfile

sendfile: $(OBJS)
	$(CXX) -o $@ $(CXXFLAGS) $(LDFLAGS) $(OBJS)

clean:
	rm -f $(PROG) *.o *~ core *.core

install:
	$(INSTALL) -m 755 $(PROG) $(FILE) $(USRBINDIR)/

#gcc conbtdialogs_send_file.c -o sendfile `pkg-config --cflags --libs dbus-glib-1`
